//
//  UINavigationItem+YJCategory.h
//  Rail
//
//  Created by hychen on 2018/2/25.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UINavigationItem (YJCategory)

- (void)addLeftButton:(id)view;

- (void)addLeftButton:(id)view imageNamed:(NSString *)imageName;

- (void)addSimpleTitleView:(NSString *)title;

- (void)addSimpleTitleView:(NSString *)title titleColor:(UIColor *)titleColor;

- (void)addSimpleTitleView:(NSString *)title MaxWidth:(float)maxWidth MaxHeight:(float)maxHeight;

- (void)addSimpleTitleView:(NSString *)title FontSize:(UIFont *)font MaxWidth:(float)maxWidth MaxHeight:(float)maxHeight;

- (void)addSimpleTitleView:(NSString *)title titleColor:(UIColor *)titleColor FontSize:(UIFont *)font MaxWidth:(float)maxWidth MaxHeight:(float)maxHeight;

- (void)addRightItem:(id)owner title:(NSString *)title selector:(SEL)selector;

- (void)addRightNavItem:(id)owner title:(NSString *)title selector:(SEL)selector;

- (UIButton *)addRightNavItem:(id)owner normalImage:(UIImage *)normalImage highlightedImage:(UIImage *)highlightedImage selector:(SEL)selector;

@end
